

import 'package:crm/pages/about/animation/flutter_animation.dart';
import 'package:crm/pages/about/form/form.dart';
import 'package:crm/pages/about/imagelist/image_list.dart';
import 'package:crm/pages/about/map/amap_base.dart';
import 'package:crm/pages/about/projectView/project_view.dart';
import 'package:crm/pages/about/bottomdrag/bottom_drag.dart';
import 'package:crm/pages/about/slidedelete/slide_delete.dart';
import 'package:crm/pages/about/tableView/table_view.dart';
import 'package:crm/pages/about/testroute/image_router.dart';
import 'package:crm/pages/about/testroute/test_route.dart';
import 'package:crm/pages/home/TimeHelper/time_helper.dart';
import 'package:crm/pages/index_page.dart';
import 'package:fluro/fluro.dart';
import 'package:flutter/material.dart';

Handler indexPage = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    return IndexPage();
  }
);
Handler timehelper = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    return TimeHelper();
  }
);
Handler tableview = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    return TableView();
  }
);
Handler projectpage = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    return ProjectPage();
  }
);
Handler testroute = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    return TestRoutePage();
  }
);
Handler imagerouterpage = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    return ImageRouterPage();
  }
);
Handler flutteranimation = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    return FlutterAnimation();
  }
);
Handler bottomdragpage = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    return BottomDragPage();
  }
);
Handler imagelistpage = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    return ImageListPage();
  }
);
Handler formpage = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    return FormPage();
  }
);
Handler sildedeletepage = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    String id = params['id']?.first;
    return SildeDeletePage(id);
  }
);
Handler amapbase = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    return AmapBasePage();
  }
);